package com.example.myapplication.status2;

public abstract class Status {

    public Status() {
    }

    public Status(StatusContext statusContext) {
        this.statusContext = statusContext;
        translateStatus();
    }

    protected StatusContext statusContext;

    public void setStatusContext(StatusContext statusContext) {
        this.statusContext = statusContext;
        translateStatus();
    }


    public abstract void doAction();

    public abstract void translateStatus();

    public abstract void eventChange(Event event);

//    public abstract void updateView();
}
